import moment from 'moment'
import Vue from 'vue'

Vue.filter('date', (input, format = 'YYYY-MM-DD HH:mm:ss') => moment(input).format(format));